package zcj.stu;

import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;
import org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping;
import org.springframework.web.util.UrlPathHelper;

public class C33 {
    public static void main(String[] args) {
        AnnotationConfigServletWebServerApplicationContext context = new AnnotationConfigServletWebServerApplicationContext(WebConfig.class);
        BeanNameUrlHandlerMapping mapping = context.getBean(BeanNameUrlHandlerMapping.class);
        UrlPathHelper urlPathHelper = mapping.getUrlPathHelper();
        System.out.println(urlPathHelper);
    }
}
